import request from '@/utils/request';
import { AxiosPromise } from 'axios';

// 获取材料数据
export function getMaterialCountData(){
  return request({
    url: '/material/list/count?businessScenarioNo=1&type=comp_material,mat_material',
    method: 'get'
  });
}
//获取模型数据
export function getModalCountData(){
  return request({
    url: `/model/list/count`,
    method: 'get'
  });
}
//获取紧固件数据
export function getFastenerData(){
  return request({
    url: `/fastener/list/count`,
    method: 'get'
  });
}
// 获取算法数据
export function getAlgorithmData(){
  return request({
    url: `/analysis/list/count`,
    method: 'get'
  });
}
// 获取算子数据
export function getOperatorData(){
  return request({
    url: `/operator/list/count`,
    method: 'get'
  });
}
// 获取结果库数据
export function getResultData(){
  return request({
    url: `/result/list/count`,
    method: 'get'
  });
}



